import request from "../utils/request.js";

// 拼团订单列表
const grouplist = '/api/groupbuy/order/list';
// 拼团订单详情
const getorderIds = '/api/groupbuy/order/details/'
export function getGrouplist(data) {
  return request({
    url: grouplist,
    method: 'get',
    data
  })
}
// 拼团订单详情
export function getorderId(data) {
  return request({
    url: getorderIds + data,
    method: 'get',
    // data
  })
}